package com.ece750.client.channel;

import com.google.gwt.core.client.JavaScriptObject;

public final class SocketError extends JavaScriptObject {
  protected SocketError() {
  }

  /** Returns a short description of the error encountered. */
  public final native String getDescription() /*-{
    return this.description;
  }-*/;

  /** Returns the HTTP error code corresponding to the error encountered. */
  public final native int getCode() /*-{
    return this.code;
  }-*/;
}


